﻿<UserControl x:Class="BrainTechLLC.Silverlight.ClientApplication.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  Loaded="UserControl_Loaded"    
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.ClientApplication.Controls" Height="Auto"    
    xmlns:loc="clr-namespace:BrainTechLLC.Silverlight.ClientApplication"
             xmlns:wc="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
    xmlns:loc2="clr-namespace:BrainTechLLC.Silverlight.ClientApplication"
    xmlns:local2="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"
             KeyDown="UserControl_KeyDown" KeyUp="UserControl_KeyUp">

    <Grid x:Name="LayoutRoot" Background="White" Width="Auto" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <local2:DataVisualizer             
            HeaderBackground="#FF17292E" WindowBorder="#FF395A17" WindowlessMode="False" 
            Width="Auto" Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="showLocations" Visibility="Collapsed" 
            Canvas.ZIndex="11" DescriptionTextString="Game Locations"
            local2:WindowContainer.IsOpen="False"             
            Template="{StaticResource WinContainer}" VisualizerName="ShowLocationsControl" IsCollection="True"
            />
        <local:QuickMasterControlPanel Canvas.ZIndex="15" WantUpload="QuickMasterControlPanel_WantUpload"  Name="masterControlPanel" Margin="0,0,2,0" Width="240" Height="Auto" HorizontalAlignment="Right" VerticalAlignment="Top"/>
        <local:LoginControl HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="loginControl"/>
        <local:ManageCharacters HorizontalAlignment="Center" Width="800" VerticalAlignment="Stretch" x:Name="manageCharacters" Visibility="Collapsed"/>
        <local:MainHUD1 HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="mainHUD" Visibility="Collapsed"/>        
        <local2:WindowContainer Name="wc2" Width="Auto" Height="Auto" Template="{StaticResource WinContainer}" DescriptionTextString="Upload File" Background="#FF3601AE" 
                           HorizontalAlignment="Left" VerticalAlignment="Top" Margin="100,100,0,0" local2:WindowContainer.ShowClose="True" CloseWindow="WindowContainer_CloseWindow" 
                           local2:WindowContainer.ShowSave="False" MinWidth="500" local2:WindowContainer.IsModal="True" Visibility="Collapsed" 
                           local2:WindowContainer.IsOpen="True" WindowBorder="#FF00DF0A" HeaderBackground="#FF0002C4">
            <local2:WindowContainer.Content>
                <loc:Upload Name="uploadFile" Canvas.ZIndex="19" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="500" Width="500"/>
            </local2:WindowContainer.Content>
        </local2:WindowContainer>
        <!--<wc:TreeView Name="tv" Width="Auto" HorizontalAlignment="Stretch" Canvas.ZIndex="9550" Height="Auto" VerticalAlignment="Top">
            <wc:TreeView.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="test"></TextBlock>
                </DataTemplate>
            </wc:TreeView.ItemTemplate>
        </wc:TreeView>-->
    </Grid>
</UserControl>
